<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <button @click="document.getElementById('msg').innterHTML='你点击了按钮'">点我</button>
    <p>
        <span id="msg"> 这个人很懒，什么都没留下</span>
    </p>
</body>
</html>